package com.cloud.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.entity.SysLoginLogs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 登录日志记录
 *
 * @author yzj
 * @since 2022-05-13
 */
@Mapper
public interface SysLoginLogsMapper extends BaseMapper<SysLoginLogs> {

    /**
     * 登录日志记录分页
     *
     * @author yzj
     */
    public List<SysLoginLogs> selectSysLogLoginList(@Param("param") SysLoginLogs param);

    /**
     * 清空登录日志
     *
     * @author yzj
     */
    public void cleanLogLogin();
}
